home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
database
/
do1beta
/
datetest.do
< prev
next >
Wrap
Text File
|
1991-05-08
|
330b
|
27 lines
/*
test the dObject date conversion functions
*/
? date();
s = asString(date(),"YY.MM.DD");
? s;
s = asString(date(),"YY.MMM.DD");
? s;
s = asString(date(),"MMM DD/YY");
? s;
d = asDate(s,"MMM DD/YY");
? d;
j = asJulian(date());
? j;
d1 = date();
d2 = 5/1/1990;
? d2 < d1;
? d2 > d1;
? d1 == d2;